package com.quick.develop.flowable.domain.vo.instance;

import com.quick.develop.flowable.domain.page.PageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static com.quick.develop.framework.utils.DateUtils.YYYY_MM_DD_HH_MM_SS;

@Data
@EqualsAndHashCode(callSuper = true)
public class BpmProcessInstanceMyPageReqDTO extends PageParam {

    private static final long serialVersionUID = 1451676709441654640L;

    
    @ApiModelProperty(value = "流程实例名称")
    private String name;

    @ApiModelProperty(value = "流程实例状态")
    private String status;
    
    @ApiModelProperty(value = "流程实例ID")
    private String processInstanceId;
    
    @ApiModelProperty(value = "流程定义key")
    private String processDefinitionKey;

    @ApiModelProperty(value = "流程定义名称")
    private String processDefinitionName;

    @ApiModelProperty(value = "开始的创建时间")
    @DateTimeFormat(pattern = YYYY_MM_DD_HH_MM_SS)
    private Date beginCreateTime;

    @ApiModelProperty(value = "结束的创建时间")
    @DateTimeFormat(pattern = YYYY_MM_DD_HH_MM_SS)
    private Date endCreateTime;

    private Boolean isLog;

}
